package com.atguigu.gmall.user.service;


import com.atguigu.gmall.model.user.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.Map;

/**
* @author 钟涛
* @description 针对表【user_info(用户表)】的数据库操作Service
* @createDate 2021-12-21 09:49:21
*/
public interface UserInfoService extends IService<UserInfo> {

    UserInfo login(String loginName, String passwd);

    Map<String,String> handleLoginInfo(UserInfo userInfo1,String ip) throws JsonProcessingException;

    void logout(String token);
}
